// UpperCase.cpp : implementation of the CUpperCase class
//

#include "stdafx.h"
#include "UpperCase.h"

CUpperCase::CUpperCase()
{
	// TODO: add member initialization code here
	
}
CUpperCase::~CUpperCase()
{

}
bool CUpperCase::GetAllow() const
{
	return m_allow;
}
void CUpperCase::SetAllow(bool nAllow)
{
	m_allow=nAllow;
}
bool CUpperCase::GetMustStart() const
{
	return m_mustStart;
}
void CUpperCase::SetMustStart(bool nMustStart)
{
	m_mustStart=nMustStart;
}
bool CUpperCase::GetCheckMin() const
{
	return m_checkMin;
}
void CUpperCase::SetCheckMin(bool nCheckMin)
{
	m_checkMin=nCheckMin;
}
int CUpperCase::GetMinValue() const
{
	return m_minValue;
}
void CUpperCase::SetMinValue(int nMinValue)
{
	m_minValue=nMinValue;
}

bool CUpperCase::GetCheckMax() const
{
	return m_checkMax;
}
void CUpperCase::SetCheckMax(bool nCheckMax)
{
	m_checkMax=nCheckMax;
}
int CUpperCase::GetMaxValue() const
{
	return m_maxValue;
}
void CUpperCase::SetMaxValue(int nMaxValue)
{
	m_maxValue=nMaxValue;
}


void CUpperCase::MapXMLTagsToMembers()
{
	MapAttribute(&m_allow,"allow");
	MapAttribute(&m_mustStart,"mustStart");
	MapAttribute(&m_checkMin,"checkMin");
	MapAttribute(&m_minValue,"minValue");
	MapAttribute(&m_checkMax,"checkMax");
	MapAttribute(&m_maxValue,"maxValue");
}
IMPLEMENT_FACTORY(CUpperCase, UpperCase);